package ins.wink.entity;

import java.io.Serializable;
/**
 * 入库实体
 * @author ASUS
 *
 */
import java.util.Date;
public class History implements Serializable{
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "History [id=" + id + ", amounts=" + amounts + ", datetime=" + datetime + ", remain=" + remain
				+ ", type=" + type + ", user=" + user + ", historyid=" + historyid + ", storenames=" + storenames
				+ ", nm=" + nm + ", goodname=" + goodname + ", unit=" + unit + ", amount=" + amount + ", name=" + name
				+ "]";
	}
	/**
	 * 反序列化放值数据加载不到
	 */
	private static final long serialVersionUID = 1L;
	private String id;
	private double amounts;
	private Date datetime;
	private double remain;
	private String type;
	private String user;
	private String historyid;
	////////////////////////
	private String storenames;
	private String nm;
	private String goodname;
	private String unit;
	private double amount;
	private String name;
	//
	private String storeid;
	
	/**
	 * @return the storeid
	 */
	public String getStoreid() {
		return storeid;
	}
	/**
	 * @param storeid the storeid to set
	 */
	public void setStoreid(String storeid) {
		this.storeid = storeid;
	}
	public History(String id, double amounts, Date datetime, double remain, String type, String user, String historyid,
			String storenames, String nm, String goodname, String unit, double amount, String name, String storeid) {
		super();
		this.id = id;
		this.amounts = amounts;
		this.datetime = datetime;
		this.remain = remain;
		this.type = type;
		this.user = user;
		this.historyid = historyid;
		this.storenames = storenames;
		this.nm = nm;
		this.goodname = goodname;
		this.unit = unit;
		this.amount = amount;
		this.name = name;
		this.storeid = storeid;
	}
	public History() {
		super();
		// TODO Auto-generated constructor stub
	}
	public History(String id, double amounts, Date datetime, double remain, String type, String user, String historyid,
			String storenames, String nm, String goodname, String unit, double amount, String name) {
		super();
		this.id = id;
		this.amounts = amounts;
		this.datetime = datetime;
		this.remain = remain;
		this.type = type;
		this.user = user;
		this.historyid = historyid;
		this.storenames = storenames;
		this.nm = nm;
		this.goodname = goodname;
		this.unit = unit;
		this.amount = amount;
		this.name = name;
	}
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the amounts
	 */
	public double getAmounts() {
		return amounts;
	}
	/**
	 * @param amounts the amounts to set
	 */
	public void setAmounts(double amounts) {
		this.amounts = amounts;
	}
	/**
	 * @return the datetime
	 */
	public Date getDatetime() {
		return datetime;
	}
	/**
	 * @param datetime the datetime to set
	 */
	public void setDatetime(Date datetime) {
		this.datetime = datetime;
	}
	/**
	 * @return the remain
	 */
	public double getRemain() {
		return remain;
	}
	/**
	 * @param remain the remain to set
	 */
	public void setRemain(double remain) {
		this.remain = remain;
	}
	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * @return the user
	 */
	public String getUser() {
		return user;
	}
	/**
	 * @param user the user to set
	 */
	public void setUser(String user) {
		this.user = user;
	}
	/**
	 * @return the historyid
	 */
	public String getHistoryid() {
		return historyid;
	}
	/**
	 * @param historyid the historyid to set
	 */
	public void setHistoryid(String historyid) {
		this.historyid = historyid;
	}
	/**
	 * @return the storenames
	 */
	public String getStorenames() {
		return storenames;
	}
	/**
	 * @param storenames the storenames to set
	 */
	public void setStorenames(String storenames) {
		this.storenames = storenames;
	}
	/**
	 * @return the nm
	 */
	public String getNm() {
		return nm;
	}
	/**
	 * @param nm the nm to set
	 */
	public void setNm(String nm) {
		this.nm = nm;
	}
	/**
	 * @return the goodname
	 */
	public String getGoodname() {
		return goodname;
	}
	/**
	 * @param goodname the goodname to set
	 */
	public void setGoodname(String goodname) {
		this.goodname = goodname;
	}
	/**
	 * @return the unit
	 */
	public String getUnit() {
		return unit;
	}
	/**
	 * @param unit the unit to set
	 */
	public void setUnit(String unit) {
		this.unit = unit;
	}
	/**
	 * @return the amount
	 */
	public double getAmount() {
		return amount;
	}
	/**
	 * @param amount the amount to set
	 */
	public void setAmount(double amount) {
		this.amount = amount;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
}
